*{
    margin:0;
    padding:0;
}
div{
    display: flex;
}
#header{
    background:#ccc;
    width:28%;
    height:100px;
    justify-content: space-around;
    align-items: center;
    margin:0 auto;
}
#span1{
    padding-left: 10px;
    font-size: 20px;
    flex-basis:80%;
}
#span2,#span3{
    flex-basis:10%;
}
#header span{
    display: inline-block;
    width: 50px;
    height: 50px;
}
#main{
    width:28%;
    height:300px;
    justify-content: space-around;
    align-items: center;
    margin:0 auto;
}
#footer{
    width:28%;
    height: 155px;
    margin:0 auto;
    justify-content: space-around;
    align-content: center;
    flex-wrap: wrap;
    border-bottom: 2px solid blue;
}
#footer img{
    width: 80px;
    height: 80px;
}